package com.rybbaby.tss.front.tssMemberAttendClassRecord.entity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * //@description 会员报班记录表
 *
 * //@author 雷春琼
 *
 * //@createDate 2017-08-24 下午2:43:28
 */
//@Entity
//@Table(name = "tss_member_attend_class_record")
//@DynamicUpdate(true)
//@DynamicInsert(true)
public class TssAttendanceClasses implements Serializable {


	/** 主键 **/
	private String id;
	/** 会员Id **/
	private String lessonsId;
	/** 会员课时包Id **/
	private String memberPackageId;
	/** 班级姓名 **/
	private String className;
	/** 教室姓名 **/
	private String roomName;
	/** 教师姓名 **/
	private String realName;
	/** 应出勤 **/
	private Integer sumShouldAttendAttendance;
	/** 未考勤 **/
	private Integer sumNotAttendance;
	/** 已出勤 **/
	private Integer sumRealAttendance;
	/** 补课 **/
	private Integer sumMakeUpAttendance;
	/** 类型 **/
	private Integer type;
	/** 创建时间 **/
	private java.sql.Timestamp createTime;
	/** 创建时间 **/
	private java.sql.Timestamp startTime;
	/** 结束时间 **/
	private java.sql.Timestamp endTime;



	/**
	 * 方法: 取得主键
	 *
	 * //@return java.lang.Integer 主键
	 */
	//@Id
	//@GeneratedValue(generator = "tss_member_attend_class_recordIDGenerator" , strategy = GenerationType.AUTO)
	//@GenericGenerator(name = "tss_member_attend_class_recordIDGenerator" , strategy = "uuid")
	//@Column(name = "id", nullable= false, length = 32)
	public String getId() {
		return this.id;
	}

	/**
	 * 方法: 设置主键
	 *
	 * //@param id 主键
	 */
	public void setId(String id) {
		this.id = id;
	}




	/**
	 * 方法: 取得创建时间
	 *
	 * //@return java.sql.Timestamp 创建时间
	 */
	//@Column(name = "createTime", nullable= true, length = 19)

	public String getLessonsId() {
		return lessonsId;
	}

	public void setLessonsId(String lessonsId) {
		this.lessonsId = lessonsId;
	}

	public String getMemberPackageId() {
		return memberPackageId;
	}

	public void setMemberPackageId(String memberPackageId) {
		this.memberPackageId = memberPackageId;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getRoomName() {
		return roomName;
	}

	public void setRoomName(String roomName) {
		this.roomName = roomName;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public Integer getSumShouldAttendAttendance() {
		return sumShouldAttendAttendance;
	}

	public void setSumShouldAttendAttendance(Integer sumShouldAttendAttendance) {
		this.sumShouldAttendAttendance = sumShouldAttendAttendance;
	}

	public Integer getSumNotAttendance() {
		return sumNotAttendance;
	}

	public void setSumNotAttendance(Integer sumNotAttendance) {
		this.sumNotAttendance = sumNotAttendance;
	}

	public Integer getSumRealAttendance() {
		return sumRealAttendance;
	}

	public void setSumRealAttendance(Integer sumRealAttendance) {
		this.sumRealAttendance = sumRealAttendance;
	}

	public Integer getSumMakeUpAttendance() {
		return sumMakeUpAttendance;
	}

	public void setSumMakeUpAttendance(Integer sumMakeUpAttendance) {
		this.sumMakeUpAttendance = sumMakeUpAttendance;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Timestamp getStartTime() {
		return startTime;
	}

	public void setStartTime(Timestamp startTime) {
		this.startTime = startTime;
	}

	public Timestamp getEndTime() {
		return endTime;
	}

	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}
}